package com.ticketbox.ejb.session.interfaces;

import java.util.Vector;

import javax.ejb.Local;

import com.ticketbox.entity.Attribute;
import com.ticketbox.entity.Role;
import com.ticketbox.entity.Ticket;
import com.ticketbox.entity.User;

@Local
public interface AttributeFacadeLocal {
	
	public void createAttribute(Attribute attribute);
	
	public void modifyAttribute(int id, User user);
	
	public void modifyAttribute(Attribute attribute);
	
	public User getAttributeById(int id);
	
	public Vector<Attribute> findAllAttributes();
	
	public Vector<Attribute> findUsersByTicket(Role role);
	
	public void removeAttributeFromTicket(Attribute attribute, Ticket ticket);
	
	public void deleteAttribute(int id);
		
}
